package com.hxg.common.service.impl;

import com.hxg.common.dao.BlVerfiyDao;
import com.hxg.common.service.BlService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("blVerfiyService")
public class BlServiceImpl implements BlService {

    @Autowired
    private BlVerfiyDao blVerfiyDao;

    @Override
    public boolean repeat(String value, String tableName, String col, String primaryKey, String primaryKeyValue) {
        return blVerfiyDao.repeat(value, tableName, col, primaryKey, primaryKeyValue);
    }

    @Override
    public boolean repeatAppId(String appId, String value, String tableName, String col, String primaryKey,
                               String primaryKeyValue) {
        return blVerfiyDao.repeatAppId(appId, value, tableName, col, primaryKey, primaryKeyValue);
    }
}
